#ifndef GETONCAR_H
#define GETONCAR_H

#include "baseptc.h"
#include <QDate>
#include <QTime>
#include "socket/protocol/gps.h"

namespace protocal{
class GetOnCar : public BasePtc
{
public:
    GetOnCar()
    {
        this->source = CLIENT;
        this->cli_command = CLI_GET_ON_CAR;
        this->size = sizeof(GetOnCar);
    }

public:
    // the current position
    protocal::GPS gps;

    // current time
    int hour;       // 0-23
    int minute;     // 0-59
    int second;     // 0-59

    // current date
    int year;
    int month;
    int day;
};
}

#endif // GETONCAR_H
